package com.qianguo.sender.usercenter;

import android.content.Context;
import android.content.Intent;
import android.widget.TextView;

import com.qianguo.sender.R;
import com.qianguo.sender.SenderMainActivity;
import com.qianguo.sender.base.BaseTitleActivity;

import org.androidannotations.annotations.Click;
import org.androidannotations.annotations.EActivity;
import org.androidannotations.annotations.ViewById;

/**
 * 派送员账户页面
 *
 * @author eva
 * @date 16/5/16
 */
@EActivity(R.layout.activity_sender_account)
public class SenderAccountActivity extends BaseTitleActivity {

    /** 配送费收入 */
    @ViewById(R.id.sender_account_delivery_money_tv)
    TextView mTvDeliveryMoney;

    /** 配送奖励 */
    @ViewById(R.id.sender_account_delivery_reward_tv)
    TextView mTvDeliveryReward;

    /** 其他奖励 */
    @ViewById(R.id.sender_account_other_reward_tv)
    TextView mTvOtherReward;

    /** 纠错 */
    @ViewById(R.id.sender_account_error_correction_tv)
    TextView mTvErrorCorrection;

    /** 余额 */
    @ViewById(R.id.sender_account_remaining_balance_tv)
    TextView mTvRemainingBalance;

    /** 垫付金额 */
    @ViewById(R.id.sender_account_pay_money_tv)
    TextView mTvPayMoney;

    /** 已提现金额 */
    @ViewById(R.id.sender_account_had_withdraw_money_tv)
    TextView mTvWithdrawMoney;

    public static void jumpToAccount(Context context) {
        context.startActivity(new Intent(context, SenderAccountActivity_.class));
    }

    @Override
    protected String getToolbarTitle() {
        return getString(R.string.sender_account_title);
    }

    @Override
    protected void initializeUI() {

    }
    
    @Click(R.id.sender_account_recharge_button)
    void clickRecharge() {
        // TODO: 16/5/16 充值 
        
    }
    
    @Click(R.id.sender_account_hint_tv)
    void clickHelp() {
        // TODO: 16/5/16 跳转到帮助页面
        
    }
}
